<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <h:outputStylesheet name="css/menuAplicacion.css"/>

    </h:head>

    <h:body styleClass="colorCuerpo">

        <p:layout fullPage="true" >

            <p:layoutUnit position="north" size="130
                          " >

               
                    <p:graphicImage library="imagenes" name="images2.jpg"  /> 
               



            </p:layoutUnit>

            <p:layoutUnit position="west" size="250" header="Menu Aplicación" id="leftPanel"
                          style="text-align:center" styleClass="left" >
                <h:form>  



                    <p:panelMenu style="width:240px;text-align:left">  


                        <p:submenu label="Empleado" >  

                            <p:menuitem value="Datos Generales" url="#{pageContext.request.contextPath}/faces/tbldatosgenerales/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Datos Personales" url="#{pageContext.request.contextPath}/faces/tbldatospersonales/Create.xhtml" icon="ui-icon-disk" />  

                        </p:submenu> 
                        <p:submenu label="Organizacion" >  
                            <p:menuitem value="Cargos" url="#{pageContext.request.contextPath}/faces/tblcargos/Create.xhtml"   icon="ui-icon-disk" />   
                            <p:menuitem value="Centro Costo" url="#{pageContext.request.contextPath}/faces/tblcentrocosto/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Conceptos" url="#{pageContext.request.contextPath}/faces/tblconceptos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Factores Provision" url="#{pageContext.request.contextPath}/faces/tblfactoresprovision/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Deduccion ReteFuente" url="#{pageContext.request.contextPath}/faces/tbldeduccinretefuente/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Agrupacion" url="#{pageContext.request.contextPath}/faces/tblagrupacion/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Tercero" url="#{pageContext.request.contextPath}/faces/tbltercero/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Tipo Actividad" url="#{pageContext.request.contextPath}/faces/tbltipoactividad/Create.xhtml" icon="ui-icon-disk" /> 
                            <p:menuitem value="Grupo" url="#{pageContext.request.contextPath}/faces/tblgrupo/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Divisiones" url="#{pageContext.request.contextPath}/faces/tbldivisiones/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Tipo Conceptos" url="#{pageContext.request.contextPath}/faces/tbltipoconceptos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="ARP" url="#{pageContext.request.contextPath}/faces/tblarp/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="EPS" url="#{pageContext.request.contextPath}/faces/tbleps/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Fondo Pension" url="#{pageContext.request.contextPath}/faces/tblfondopension/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Cesantias" url="#{pageContext.request.contextPath}/faces/tblcesantias/Create.xhtml" icon="ui-icon-disk" /> 
                            <p:menuitem value="Caja Compensacion" url="#{pageContext.request.contextPath}/faces/tblcajacompensacion/Create.xhtml"   icon="ui-icon-disk" />
                        </p:submenu> 
                    </p:panelMenu>  

                </h:form>  
            </p:layoutUnit>

            <p:layoutUnit position="center" styleClass="center" >
                <h:form>  

                    <p:tabMenu activeIndex="2">  
                        <p:menuitem value="Administracion" url="#{pageContext.request.contextPath}/faces/menuAplicacion.xhtml" disabled="#{!Login.esOperador}"/>  
                        <p:menuitem value="Compañia" url="#{pageContext.request.contextPath}/faces/menuAplicacionCompania.xhtml" /> 
                        <p:menuitem value="Empleado" url="#{pageContext.request.contextPath}/faces/menuAplicacionEmpleado.xhtml" icon="ui-icon-person"/>  
                        <p:menuitem value="Parámetros sistema" url="#{pageContext.request.contextPath}/faces/menuAplicacionParametro.xhtml" icon="ui-icon-wrench"/>  
                        <p:menuitem value="Registro de novedades" url="#{pageContext.request.contextPath}/faces/menuAplicacionNovedades.xhtml" /> 
                        <p:menuitem value="liquidaciones" url="#{pageContext.request.contextPath}/faces/menuAplicacionLiquidacion.xhtml" /> 
                        <p:menuitem value="Cerrar sesión" url="#{pageContext.request.contextPath}/faces/login.xhtml"  ajax="false" /> 
                    </p:tabMenu>  
                </h:form> 
                <ui:insert name="body"></ui:insert>

            </p:layoutUnit>

        </p:layout>

    </h:body>
</html>
